import request from "@/utils/request";

// 获得音频参数
export function getAudioConfigApi(params) {
  return request({
    url: "/cgi-bin/entry.cgi/peripherals/audio-config",
    method: "get",
    params,
  });
}

// 修改音频参数
export function editAudioConfigApi(data) {
  return request({
    url: "/cgi-bin/entry.cgi/peripherals/audio-config",
    method: "post",
    data,
  });
}
